<template>
  <div class="demo">
    <h2>学校名称：{{schoolName}}</h2>
    <h2>学校地址：{{schoolAddress}}</h2>
  </div>
</template>

<script>
export default {
    name:'School',
    data() {
        return {
            schoolName:'上海交通大学',
            schoolAddress:'上海'
        }
    },
}
</script>

<style>
.demo{
    background-color: orange;
}
</style>